/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package nexus.criterios.exp;

import java.util.ArrayList;

/**
 *
 * @author juampi
 */
public class KeySet {
    private ArrayList<Key> keys;
    public KeySet(){
        keys=new ArrayList<Key>();
    }
    public void add(Key k){
        keys.add(k);
    }
    public ArrayList<Key> getKeys(){
        return keys;
    }
    public Key getKey1(){return getKey(0);}
    public Key getKey2(){return getKey(1);}
    public Key getKey3(){return getKey(2);}
    public Key getKey4(){return getKey(3);}
    public Key getKey5(){return getKey(4);}
    public Key getKey6(){return getKey(5);}
    public Key getKey(int p){
        return keys.get(p);
    }
}
